how to rewrite sums in sigma notation